package com.bwie.repository;


import com.bwie.pojo.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @program: day0423-pxx
 * @ClassName GoodsRepository
 * @description:
 * @author: 段阳
 * @create: 2024-05-08 20:50
 **/
public interface GoodsRepository extends ElasticsearchRepository<Goods,Long> {


//    List<Goods> findGoodSearchByTitle(String apple);
//
//    List<Goods> findByPriceBetween(int i, int i1);
//
//    List<Goods> findByStockAfter(int i);
//
//    List<Goods> findByTitleAndPriceBetween(String apple, int i, int i1);
//
//    List<Goods> findByPriceBetweenOrStockAfter(int i, int i1, int i2);
//
//
//
//    List<Goods> findByTitleAndStockBeforeOrderByPriceDesc(String apple, int i);
//
//    List<Goods> findByPriceBetweenOrderByStockAsc(int i, int i1);
//
//    List<Goods> findByTitleOrderByCreatedAtDesc(String apple);
}